bitkeeper revision 1.1159.278.1 (424c69fdsFkm7FZ7SYMwK1Y6v6p1Og)
authoriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Thu, 31 Mar 2005 21:22:05 +0000 (21:22 +0000)
committeriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Thu, 31 Mar 2005 21:22:05 +0000 (21:22 +0000)
commitb4d3bc3dbbdf4c4a81b4bf16cf080404d20333b9
tree8ab7747c6bbc0ef495394b759f663c44ad3dda7b
parentba77d5acc9b67b0ca90e91d35603e8a902610db4
bitkeeper revision 1.1159.278.1 (424c69fdsFkm7FZ7SYMwK1Y6v6p1Og)

Make default CPU placement of domains a bit smarter on systems with
hyperthreading: only dom0 gets to use hyperthreading by default, we
effectively ignore it on all other CPUs by allocating domains to
the same hyperthread. If you don't like this, use 'xm pincpu' to
change it. [note: we probably need to make pincpu more expressive,
providing a list of CPUs that the domain can be scheduled on.]

Signed-off-by: ian@xensource.com
xen/common/dom0_ops.c